package cn.gp.chatclient.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVo {
    private Long id;
    private String username;
    private String nickname;
    private String avatar;
    private Integer status;
    private List<FriendVo> friends; // 专门的好友VO

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class FriendVo {
        private Long id;
        private String username;
        private String nickname;
        private String avatar;
        private Integer status;
        private String remark; // 好友备注
    }
}